﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace VisionCloud.Domain.DtoModel.Inner
{
    /// <summary>
    /// FMS行政区域Dto
    /// </summary>
    public class DistrictDto : ProjectDCRspDataBaseDto
    {
        /// <summary>
        /// 区域Id
        /// </summary>
        [JsonProperty("id")]
        public string Id { get; set; }

        /// <summary>
        /// 父级区域Id
        /// </summary>
        [JsonProperty("parentId")]
        public string ParentId { get; set; }

        /// <summary>
        /// 行政区域名称
        /// </summary>
        [JsonProperty("name")]
        public string Name { get; set; }

        /// <summary>
        /// 拼音首字母
        /// </summary>
        [JsonProperty("pinyinHeadChar")]
        public string PinyinHeadChar { get; set; }

        /// <summary>
        /// 城市代码
        /// </summary>
        [JsonProperty("cityCode")]
        public string CityCode { get; set; }

        /// <summary>
        /// 行政编码
        /// </summary>
        [JsonProperty("adCode")]
        public string AdCode { get; set; }

        /// <summary>
        /// 区域级别level": 1- 省份，2- 城市， 3- 区县， 4- 镇街
        /// </summary>
        [JsonProperty("level")]
        public int Level { get; set; }

        /// <summary>
        /// 经纬度信息
        /// </summary>
        [JsonProperty("center")]
        public string Center { get; set; }

        /// <summary>
        /// 行政边界
        /// </summary>
        [JsonProperty("polyLine")]
        public string PolyLine { get; set; }

    }
}
